Repository navigation
Fix broken external links and redirect problems - #498
Merged
Merged
Conversation
|
Visit the preview URL for this PR (updated for commit 0d2804e): https://golioth-docs-dev--pr498-fix-site-links-and-r-sria7gc8.web.app (expires Fri, 18 Dec 2026 13:04:17 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: f53b02bdc98ce6f5593931ec4c339aa96bac84df |
The pouch BLE GATT example moved to examples/zephyr/ble_gatt, Pipedream removed its /apps/http page (the HTTP trigger is now documented on the Triggers page), and idf.espressif.com is a meta-refresh stub that ends on a blog tag listing, so link the ESP-IDF product page instead. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The hardware catalog was dropped, so its two redirects, which go through /firmware/hardware/catalog/..., ended on missing pages. Remove them: the /hardware catch-all behind them takes these URLs like other old hardware pages. The old LightDB concept page also ended on a missing page; fold it into the /services/lightdb rule, which goes to LightDB State. In docs-prod, the Device SDKs redirect pointed at a page that no longer exists, and the firmware-upgrade slug fix lacked the leading slash in its source and had a relative destination. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
Several redirects pointed at /firmware/... URLs that are redirected again. Most only took an extra hop, but the bare /firmware/hardware and the old stream-client, fw-update-zephyr and Zephyr SDK pages fall through to the generic /firmware catch-all, so the /hardware, light-db-stream, dfu-sample-zephyr and Zephyr SDK redirects ended on the Firmware overview instead of their successor pages. Point these redirects at the successor pages directly. This adds no rules for the old /firmware/... pages themselves; requests for them still reach the Firmware overview through the catch-all. In docs-prod the Zephyr SDK and Device SDKs redirects now share their destination, so merge them into one rule. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The /concepts/console rule came after the /concepts catch-all, so it never applied and the old Console concept page went to the home page. Drop it and let the /golioth-console rule, which comes before /concepts, cover it too: the Golioth Console page covers what the concept page described. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
Some redirects were only added to one target, so the preview channels did not exercise the rules that production serves. Copy the missing rules across (three to docs-dev, one to docs-prod) and drop two redundant docs-prod rules: a second /cloud/tiers rule that the first one always shadows, and /cloud/output-streams/:streams*, which has the same destination as the /cloud/output-streams rule that follows it. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
Rules like /cloud/services/ota/:ota* keep the rest of the path, so old pages without a same-named successor ended on missing pages, and the bare /cloud/services/lightdb, which /cloud/services/lightdb/:state* does not match, ended on the generic Application Services page. Ahead of the pass-through rules, redirect these to the page that now holds their content: the firmware hardware catalog, the QEMU quickstart pages, the bare /cloud/services/lightdb, and the CLI choose-device page, now in one rule with the console one. The OTA artifact upload and release pages also lived under /device-management/ota/, where no rule caught them, so their rules cover both prefixes. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
mniestroj
force-pushed
the
fix/site-links-and-redirects
branch
from
November 18, 2026 13:00
857e70d to
0d2804e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix problems found by a site-wide link and redirect check of the docs.
All of them also exist on docs.golioth.io today; none comes from the SDK
v0.23.0 update.
examples/zephyr/ble_gatt, Pipedream removed/apps/http(the HTTPtrigger is on its Triggers page), and
idf.espressif.comis ameta-refresh stub, so link Espressif's ESP-IDF page.
removed (the
/hardwarecatch-all takes those URLs), and the oldLightDB concept page now goes to LightDB State. In
docs-prod, theDevice SDKs redirect and the firmware-upgrade slug rule now point at
pages that exist.
/firmwarecatch-all now gostraight to their successor pages (Hardware, Stream client, Zephyr
firmware update, Golioth Firmware SDK).
/concepts/consolewas shadowed by/concepts; it now shares the/golioth-consolerule and goes to the Golioth Console page.docs-devanddocs-prodnow have the same redirects, so previewchannels test what production serves. Two redundant
docs-prodrulesare dropped: a second
/cloud/tiersrule and/cloud/output-streams/:streams*(same destination as the rule afterit).
/cloud/services/ota/:ota*sent old pageswithout a same-named successor to missing pages. The long-lived ones
(firmware hardware catalog, QEMU quickstart, OTA artifact uploads and
firmware releases, CLI choose-device) and the bare
/cloud/services/lightdbnow redirect to the page that holds theircontent.
Rules with the same destination are merged with
{a,b}sources. Thisleaves 50 redirects in each of
docs-dev(46 before) anddocs-prod(51 before). Merges cleanly with the SDK v0.23.0 docs PR, which also
edits
firebase.json.